﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Index.cshtml";
}
<script>
    $(function () {
        gridList();
    })
    function gridList() {
        var $gridList = $("#gridList");
        $gridList.dataGrid({
            url: "/WareHouse/Test/GetGridJson",
            height: $(window).height() - 96,
            colModel: [
                { label: "主键", name: "FRegisterID", hidden: true, key: true },
                { label: '角色名称', name: 'UseUnit', width: 150, align: 'left' },
                { label: '角色编号', name: 'FDouBarCode', width: 150, align: 'left' },
                { label: '角色类型', name: 'FCurDate', width: 80, align: 'left' },
                { label: '归属机构', name: 'FDocuTypeNO', width: 150, align: 'left' },
                { label: '创建时间', name: 'FHappenCompanyNO', width: 80, align: 'left' },
                { label: "有效", name: "FVoucherNo", width: 60, align: "center" },
                { label: '备注', name: 'FBatchNo', width: 300, align: 'left' }
            ]
        });
    }
</script>

<div class="topPanel"> 
            @*<table>
                <tr>
                    <td>
                        <div class="input-group">
                            <input id="txt_keyword" type="text" class="form-control" placeholder="角色名称/角色编号" style="width: 200px;">
                            <span class="input-group-btn">
                                <button id="btn_search" type="button" class="btn  btn-primary"><i class="fa fa-search"></i></button>
                            </span>
                        </div>
                    </td>
                </tr>
            </table>*@    
    <div>
        <div>
         <div>

         </div>
          
                        @*data-options="FRegisterID:'FRegisterID',FRegisterID:'FRegisterID',url:'/WareHouse/Test/GetGridJson'" />*@
 
        </div>  
    </div>  
 
</div>
@*<div class="gridPanel">
    <table id="gridList"></table>
</div>*@
